async function doSomething(params) {
    return new Promise((resolve, reject) => {
        setTimeout(() => {
            resolve(`${params} finished!`)
        },500)
    })
}

export async function work() {
    let res = await doSomething("work")
    return res
}